package org.jzs.mybaseapp.section.home.entity;

import java.util.List;

/**
 * Created by Jzs on 2017/8/21.
 */

public class ExpandTabEntity {


    /**
     * code : 1200
     * message : success
     * data : {"images":[{"imgId":"","imgUrl":"http://wx.weixinxjj.com/xjjapi5/img/0-3_banner.jpg"},{"imgId":"","imgUrl":"http://wx.weixinxjj.com/xjjapi5/img/3-6_banner.jpg"},{"imgId":"","imgUrl":"http://wx.weixinxjj.com/xjjapi5/img/6-12_banner.jpg"},{"imgId":"","imgUrl":"http://wx.weixinxjj.com/xjjapi5/img/12-15_banner.jpg"}],"area":[{"areaId":"587","areaName":"思明区","road":[{"roadId":"","roadName":"全部"},{"roadId":"3454","roadName":"二市"},{"roadId":"3422","roadName":"莲坂"},{"roadId":"3428","roadName":"罗宾森广场"},{"roadId":"3420","roadName":"火车站"},{"roadId":"3426","roadName":"莲前大道"},{"roadId":"3443","roadName":"禾祥西路沿线"},{"roadId":"3423","roadName":"中山路"},{"roadId":"3452","roadName":"七星乐都汇"},{"roadId":"3436","roadName":"莲花"},{"roadId":"3448","roadName":"官邸"},{"roadId":"3434","roadName":"吕厝"},{"roadId":"3421","roadName":"前埔"},{"roadId":"3427","roadName":"仙岳路沿线"},{"roadId":"3445","roadName":"加州商业广场"},{"roadId":"3435","roadName":"文灶"},{"roadId":"3460","roadName":"文化艺术中心"},{"roadId":"3442","roadName":"湖滨南路沿线"},{"roadId":"3536","roadName":"瑞景"},{"roadId":"3440","roadName":"湖滨北路东段"},{"roadId":"3433","roadName":"思北路口"},{"roadId":"3537","roadName":"厦禾路沿线"},{"roadId":"3462","roadName":"中山公园"},{"roadId":"3468","roadName":"西堤咖啡街"},{"roadId":"3467","roadName":"湖滨北路西段"},{"roadId":"3438","roadName":"斗西路口"}]},{"areaId":"591","areaName":"同安区","road":[{"roadId":"","roadName":"全部"},{"roadId":"3506","roadName":"乐海城市广场"}]},{"areaId":"589","areaName":"湖里区","road":[{"roadId":"","roadName":"全部"},{"roadId":"3473","roadName":"湖里万达"},{"roadId":"3472","roadName":"TBK枋湖客运中心"},{"roadId":"3486","roadName":"五缘湾"},{"roadId":"3475","roadName":"五缘湾乐都汇"},{"roadId":"3482","roadName":"长浩路"},{"roadId":"3491","roadName":"枋湖双十中学"},{"roadId":"3481","roadName":"蔡塘广场"},{"roadId":"3493","roadName":"湖里公园"}]},{"areaId":"590","areaName":"集美区","road":[{"roadId":"","roadName":"全部"},{"roadId":"3495","roadName":"同集路"},{"roadId":"3496","roadName":"杏林"},{"roadId":"3502","roadName":"集美万达广场"}]},{"areaId":"592","areaName":"翔安区","road":[{"roadId":"","roadName":"全部"},{"roadId":"3517","roadName":"新店"}]},{"areaId":"588","areaName":"海沧区","road":[{"roadId":"","roadName":"全部"},{"roadId":"3515","roadName":"东孚商业圈"}]}],"cat":[{"catId":"1","catName":"早教"},{"catId":"2","catName":"英语"},{"catId":"3","catName":"美术"},{"catId":"4","catName":"舞蹈"},{"catId":"5","catName":"声乐"},{"catId":"6","catName":"器乐"},{"catId":"7","catName":"体育"},{"catId":"8","catName":"国学"},{"catId":"9","catName":"益智"},{"catId":"10","catName":"其他"}],"sort":[{"sortId":"5","sortName":"价格从低到高"},{"sortId":"6","sortName":"价格从高到低"}]}
     */

    public String code;
    public String message;
    public DataEntity data;

    public static class DataEntity {
        public List<ImagesEntity> images;
        public List<AreaEntity> area;
        public List<CatEntity> cat;
        public List<SortEntity> sort;

        public static class ImagesEntity {
            /**
             * imgId :
             * imgUrl : http://wx.weixinxjj.com/xjjapi5/img/0-3_banner.jpg
             */

            public String imgId;
            public String imgUrl;
        }

        public static class AreaEntity {
            /**
             * areaId : 587
             * areaName : 思明区
             * road : [{"roadId":"","roadName":"全部"},{"roadId":"3454","roadName":"二市"},{"roadId":"3422","roadName":"莲坂"},{"roadId":"3428","roadName":"罗宾森广场"},{"roadId":"3420","roadName":"火车站"},{"roadId":"3426","roadName":"莲前大道"},{"roadId":"3443","roadName":"禾祥西路沿线"},{"roadId":"3423","roadName":"中山路"},{"roadId":"3452","roadName":"七星乐都汇"},{"roadId":"3436","roadName":"莲花"},{"roadId":"3448","roadName":"官邸"},{"roadId":"3434","roadName":"吕厝"},{"roadId":"3421","roadName":"前埔"},{"roadId":"3427","roadName":"仙岳路沿线"},{"roadId":"3445","roadName":"加州商业广场"},{"roadId":"3435","roadName":"文灶"},{"roadId":"3460","roadName":"文化艺术中心"},{"roadId":"3442","roadName":"湖滨南路沿线"},{"roadId":"3536","roadName":"瑞景"},{"roadId":"3440","roadName":"湖滨北路东段"},{"roadId":"3433","roadName":"思北路口"},{"roadId":"3537","roadName":"厦禾路沿线"},{"roadId":"3462","roadName":"中山公园"},{"roadId":"3468","roadName":"西堤咖啡街"},{"roadId":"3467","roadName":"湖滨北路西段"},{"roadId":"3438","roadName":"斗西路口"}]
             */

            public String areaId;
            public String areaName;
            public boolean leaf;
            public List<RoadEntity> road;

            public static class RoadEntity {
                /**
                 * roadId :
                 * roadName : 全部
                 */
                public boolean leaf;
                public String roadId;
                public String roadName;
            }
        }

        public static class CatEntity {
            /**
             * catId : 1
             * catName : 早教
             */

            public String catId;
            public String catName;
        }

        public static class SortEntity {
            /**
             * sortId : 5
             * sortName : 价格从低到高
             */

            public String sortId;
            public String sortName;
        }
    }
}
